package com.jingdianjichi.subject.application.comvert;


import com.jingdianjichi.subject.application.dto.SubjectAnswerDTO;

import com.jingdianjichi.subject.domain.entity.SubjectAnswerBO;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * 标签dto的转换
 */
@Mapper
public interface SubjectAnswerDTOConverter {
    SubjectAnswerDTOConverter INSTANCE=Mappers.getMapper(SubjectAnswerDTOConverter.class);
    SubjectAnswerBO convertDtoToInfoBO(SubjectAnswerDTO subjectAnswerDTO);
    List<SubjectAnswerBO> convertListDTOToInfoBO(List<SubjectAnswerDTO> dtoList);
}
